from flask import Flask

from controller.index_controller import index_view
from controller.user_controller import user_view


def init_view(app: Flask):
    """
    注册所有的路由
    """
    app.register_blueprint(user_view)
    app.register_blueprint(index_view)
